import request from '@/utils/request';
// 获取红包墙列表
export function getWallListData(params) {
  return request.post('/giftDetailsHm/hbqIncomeList', params);
}
// 获取猜宝箱列表
export function getBoxListData(params) {
  return request.post('/giftDetailsHm/kbxIncomeList', params);
}
// 扭一扭数据列表
export function getZyzListData(params) {
  return request.post('/giftDetailsHm/gameIncomeList', params);
}
// 获取弹幕数据列表
export function getChatListData(params) {
  return request.post('/giftDetailsHm/giftIncomeList', params);
}
// 获取礼物列表
export function getGiftListData(params) {
  return request.post('/giftDetailsHm/giftIncomeList', params);
}
// 获取霸屏数据列表
export function getAllScreenListData(params) {
  return request.post('/giftDetailsHm/giftIncomeList', params);
}
// 获取照片数据列表
export function getPhotoListData(params) {
  return request.post('/giftDetailsHm/giftIncomeList', params);
}
// 获取红包口袋数据列表
export function getRedPackageListData(params) {
  return request.post('/giftDetailsHm/gameIncomeList', params);
}
// 获取活动收入报表数据
export function getReportData(params) {
  return request.post('/reportFormsHm/liveReportForm', params);
}
// 获取超级霸屏数据列表
export function getSuperDanmuListData(params) {
  return request.post('/giftDetailsHm/superIncomeList', params);
}
// 获取点歌收益列表
export function getMusicIncomeList(params) {
  // 与其他接口保持一致，使用 POST 方式传参
  return request.post('/giftDetailsHm/musicIncomeList', params);
}
// 获取打赏歌手列表
export function getTipSingerList(params) {
  return request.post('/giftDetailsHm/tipIncomeList', params);
}
// 获取点数风暴 - 轮次列表（最外层）
export function getPointDiceList(params) {
  const { splid, currentPage, showCount } = params || {};
  const url = `/pointDice/pointDiceList?splid=${splid || ''}&currentPage=${currentPage || ''}&showCount=${showCount || ''}`;
  return request.get(url);
}
// 获取点数风暴 - 单局详情列表（最内层）
export function getPointInfo(params) {
  const { splid, currentPage, showCount, dice_id } = params || {};
  const url = `/pointDice/pointInfo?splid=${splid || ''}&currentPage=${currentPage || ''}&showCount=${showCount || ''}&dice_id=${dice_id || ''}`;
  return request.get(url);
}
// 重新发送礼物
export function resendGift(params) {
  return request.post('/huoDongHm/sendMsgToWs', params);
}
// 重新发送超级霸屏
export function resendSuperDanmu(params) {
  return request.post('/huoDongHm/sendSuperMsgToWs', params);
}
